package com.springboot.ball.service.impl.pk;

import com.springboot.ball.consumer.WebSocketServer;
import com.springboot.ball.service.pk.StartGameService;
import com.springboot.ball.utils.Result;
import org.springframework.stereotype.Service;

@Service
public class StartGameServiceImpl implements StartGameService {
    @Override
    public String startGame(Integer aId, Integer bId,Integer cId) {
        System.out.println("start game" + aId + " " + bId+ " " + cId);
        WebSocketServer.startGame(aId, bId,cId);
        return "start game success";
    }
}
